filechooser: Prevent recursion when activating items
authorMatthias Clasen <mclasen@redhat.com>
Mon, 10 Oct 2022 23:25:45 +0000 (19:25 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Oct 2022 02:34:40 +0000 (22:34 -0400)
commit0141ba4e0086da63018c3f282cf34eca871f3926
tree1a19692b15d86e0c1496bd06f03d6ca3047b5911
parent52ef16c21b43ed281bf44c37196b67a9c400b06d
filechooser: Prevent recursion when activating items

When a list item is activated, we activate the default widget.
Unfortunately, due to some other bug, sometimes the open button
is not made sensitive, and then default.activate falls back
to activating the focus widget (which is the item we are just
coming from). Boom
gtk/gtkfilechooserwidget.c